package com.mframe.activiti.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.mframe.common.base.BaseEntity;
import java.util.Date;

/**
 * 审核表 mfr_audit
 * 
 * @author mframe
 * @date 2018-11-13
 */
public class Audit extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/**  */
	private Integer id;
	/**  */
	private Integer userId;
	/** 请假理由 */
	private String pid;
	/** 请假理由 */
	private String reason;
	/** 审核状态 */
	private String status;
	/** 流程类型 */
	private String type;
	/** 创建时间 */
	private Date createTime;
	/**任务ID*/
	private String taskId;
	
	
	public String getTaskId() {
		return taskId;
	}

	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getId() {
		return id;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public String getReason() {
		return reason;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getStatus() {
		return status;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId())
				.append("userId", getUserId()).append("reason", getReason()).append("status", getStatus())
				.append("createTime", getCreateTime()).toString();
	}
}
